package com.caishi.lkx.user.ienum.status;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author by keray
 * date:2021/4/29 11:06 上午
 */
public enum GroupStatus {
    formal("正式", 1),
    onTrial("试用", 2),
    disable("锁定", 3),
    expire("过期", 4);
    @Getter
    final
    String desc;

    @EnumValue
    @Getter
    final
    Integer code;

    GroupStatus(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }
}
